M

Toposolid.Create

Description:
Creates a new instance of toposolid within the project.
Overloads (3):
Create(Document,IList[CurveLoop],IList[XYZ],ElementId,ElementId)
public static Toposolid Create(
	Document document,
	IList<CurveLoop> profiles,
	IList<XYZ> points,
	ElementId topoTypeId,
	ElementId levelId
)
  • document
    The document in which the new toposolid is created.
  • IList<CurveLoop>
    profiles
    An array of planar curve loops that represent the profiles of the toposolid.
  • IList<XYZ>
    points
    An array of points that used to construct the top face of the toposolid.
  • topoTypeId
    Id of the toposolid type to be used by the new toposolid.
  • levelId
    Id of the level on which the toposolid is to be placed.
Return Value Toposolid A new toposolid object within the project if successful.